/*
 * @Author: HeAo
 * @Date: 2021-12-27 16:39:02
 * @LastEditTime: 2021-12-27 16:45:59
 * @LastEditors: HeAo
 * @Description: 
 * @FilePath: \study\day02\9-对象.js
 * 别乱动！
 */
let obj = {
  name: 'zhangsan',
  age: 12,
  gender: 'male',
  brith: '1999-01-01',
  address: '广西省柳州市鱼峰区文昌路2号'
}
// for in 循环
for (let k in obj) {
  console.log(k, obj[k]);
}
// 普通的for循环
// console.log(obj.name);
// console.log(obj['age']);